﻿using System.Windows;
using LanguageTranslator.UI.ViewModels;
using LanguageTranslator.UI.Views;

namespace LanguageTranslator.UI
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window, IMainWindowView
    {
        public IViewModel ViewModel { get; set; }

        public MainWindow()
        {
            InitializeComponent();

            ViewModel = new MainWindowViewModel(this);
            DataContext = ViewModel;
        }
    }
}